package pt.eden.tomcat.jms.util;

import java.io.IOException;
import java.util.Properties;

/**
 *
 */
public class ResourceNamingUtil {
    
    public static String getResourceName(String resourceClassName) throws IOException {

        Properties resourceNamings = new Properties();
        resourceNamings.load(ResourceNamingUtil.class.getResourceAsStream("/resource-naming.properties"));

        return resourceNamings.getProperty(resourceClassName);
    }
}
